home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1998
/
MacHack 1998.toast
/
The Hacks!
/
mhTV ƒ
/
TVSource
/
SourceThatMatters
/
General
/
Flog.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-21
|
738b
|
32 lines
#include <stdio.h>
#include <string.h>
#include <MacTypes.h>
#include <Timer.h>
#include <DriverServices.h>
#include <Files.h>
#include <OSUtils.h>
#include <MacMemory.h>
int mjhassert(char*, char*, int);
int mjhassert(char* exprStr, char* fileStr, int lineNum)
{
// char outStr[512];
// sprintf(outStr,
// " Asrt fld: %100s, file %32s, line %d\n", exprStr, fileStr, lineNum);
// outStr[0]=strlen(outStr);
#if STAND_ALONE
DebugStr( (unsigned char*)outStr );
#else
//This is necessary under MW because otherwise their debugger crashes.
DebugStr( "\pa" );
#endif
// sprintf(outStr, "XXX %100s", exprStr);
// outStr[0]=strlen(outStr);
return 0;
}
///=============================================================================